<?php
    $article_url = url("/content/article",array("id"=>$data->id, "alias"=>CHtml::encode($data->alias),'lang'=>Yii::app()->session['lang']));
?>
<div class="blog">
    <div class="header"><?php echo CHtml::link(CHtml::encode($data->title), $article_url) ?></div>
    <div class="date"><strong><?php echo t('LBL_UPDATE_DATE','content');?>: </strong><?php echo $data->update_date ?></div>
    <div class="content">
        <?php
        if ($data->introtext != NULL): 
            echo CHtml::encode($data->introtext);
            echo CHtml::link(t('LBL_READ_MORE','content'), $article_url);
        else: 
            echo CHtml::encode($data->fulltext);
        endif;
        ?>
    </div>
</div>